/*
 * @Description:
 * @Version: 2.0
 * @Author: godless
 * @Date: 2024-06-26 11:01:00
 * @LastEditors: godless
 * @LastEditTime: 2024-06-26 11:01:21
 */
/**
 * @description 判断是否为外部链接
 * @author godless
 * @param {string} path
 * @returns {Boolean}
 */
export function isExternal(path) {
  return /^(https?:|mailto:|tel:)/.test(path);
}
